//---------------------------------------------------------------------------

#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <Menus.hpp>
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
class TMainForm : public TForm
{
__published:	// IDE-managed Components
	TPanel *Panel1;
	TGroupBox *BusON;
	TButton *BusOnOff;
	TShape *BusState;
	TGroupBox *DiagModeSelect;
	TComboBox *DiagMode;
	TButton *StartDiag;
	TGroupBox *ReadECUID;
	TGroupBox *TPMSDTC;
	TGroupBox *ReadDataByID;
	TComboBox *ReadDataSel;
	TRadioButton *AllDentified;
	TRadioButton *AllSupported;
	TButton *ReadDTC;
	TButton *ClearDTC;
	TGroupBox *DisplayMsg;
	TMemo *DisplayMemo;
	TButton *ClearData;
	TButton *SaverDataBut;
	TTimer *RxTimer;
	TButton *ReadData;
	TComboBox *ECUIDsel;
	TButton *ReadECU;
	TGroupBox *WriteDataByID;
	TGroupBox *WriteRRHSensor;
	TEdit *DataD15;
	TEdit *DataD14;
	TEdit *DataD13;
	TEdit *DataD12;
	TLabel *D15;
	TLabel *D14;
	TLabel *D13;
	TLabel *D12;
	TGroupBox *WriteRLHSensor;
	TLabel *D11;
	TLabel *D10;
	TLabel *D9;
	TLabel *D8;
	TEdit *DataD11;
	TEdit *DataD10;
	TEdit *DataD9;
	TEdit *DataD8;
	TGroupBox *WriteFRHSensor;
	TLabel *D7;
	TLabel *D6;
	TLabel *D5;
	TLabel *D4;
	TEdit *DataD7;
	TEdit *DataD6;
	TEdit *DataD5;
	TEdit *DataD4;
	TGroupBox *WriteFLHSensor;
	TLabel *D3;
	TLabel *D2;
	TLabel *D1;
	TLabel *D0;
	TEdit *DataD3;
	TEdit *DataD2;
	TEdit *DataD1;
	TEdit *DataD0;
	TButton *WriteID;
	TButton *ClearID;
	TMainMenu *MainMenu1;
	TMenuItem *N1;
	TMenuItem *N2;
	TMenuItem *N3;
	TSaveDialog *SaveData;
	TLabel *Label1;
	void __fastcall BusOnOffClick(TObject *Sender);
	void __fastcall RxTimerTimer(TObject *Sender);
	void __fastcall ClearDataClick(TObject *Sender);
	void __fastcall StartDiagClick(TObject *Sender);
	void __fastcall FormCreate(TObject *Sender);
	void __fastcall ReadDataClick(TObject *Sender);
	void __fastcall ReadDTCClick(TObject *Sender);
	void __fastcall ClearDTCClick(TObject *Sender);
	void __fastcall ReadECUClick(TObject *Sender);
	void __fastcall N3Click(TObject *Sender);
	void __fastcall N2Click(TObject *Sender);
	void __fastcall WriteIDClick(TObject *Sender);
	void __fastcall ClearIDClick(TObject *Sender);
	void __fastcall SaverDataButClick(TObject *Sender);
private:	// User declarations
public:		// User declarations
	__fastcall TMainForm(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TMainForm *MainForm;
//---------------------------------------------------------------------------
#endif
